package com.fujimana.rockincat.restree.init.filter;

import com.fujimana.rockincat.restree.init.Item;

public class FilterItem implements Item {

	private String before;

	private String after;

	private String urlPattern;

	private Class<?> target;

	public FilterItem(String urlPattern, Class<?> target, String before,
			String after) {
		super();
		this.before = before;
		this.after = after;
		this.urlPattern = urlPattern;
		this.target = target;
	}

	public String getBefore() {
		return before;
	}

	public String getAfter() {
		return after;
	}

	public String getUrlPattern() {
		return urlPattern;
	}

	public Class<?> getTarget() {
		return target;
	}

	@Override
	public String getType() {
		return FilterItem.class.getName();
	}

}
